Home

Operator Usage

Name

remove-suffix

Description

remove-suffix["str"] ket
if ket has suffix str then remove it


Examples

remove-suffix["day"] |Tuesday>
    |Tues>

remove-suffix["str"] |Tuesday>
    |Tuesday>


See also

Operator type

ket compound